package routers

import (
	"github.com/gin-gonic/gin"
	"new/controllers"
)

func GetFamily_member(r *gin.RouterGroup) {
	r.GET("/family_member", controllers.Getfamily_member) //对应数据库中表family_member，与controllers层进行操作
	r.DELETE("/family_member", controllers.Delfamily_member)
	r.PUT("/family_member", controllers.Updatefamily_member)
	r.POST("/family_member", controllers.Addfamily_member)
}
